/*
 *  portable.h
 *  
 *
 *  Created by Michael Curtis on 20/09/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef _PORTABLE_H_
#define _PORTABLE_H_

#include "config.h"

#include <string.h>

#ifndef HAVE_STRNDUP
char *strndup(const char *s, size_t n);
#endif

#ifndef HAVE_STRNLEN
size_t strnlen(const char *s, size_t n);
#endif

#endif
